﻿using DataManage;
using ServiceLayerManagement;
using System;

namespace BMSPlatform.ViewModel
{
    public class MainViewModel : BaseViewModel
    {
        private uint recvDataNum;
        /// <summary>
        /// 从缓冲区返回的字节数
        /// </summary>
        public uint RecvDataNum { get => recvDataNum; set { recvDataNum = value; NotifyPropertyChanged(); } }

        private bool isControlEnable = true;
        /// <summary>
        /// 界面控件使能
        /// </summary>
        public bool IsControlEnable { get => isControlEnable; set { isControlEnable = value; NotifyPropertyChanged(); } }
    }
}
